// Size.h

#ifndef SIZE_H
#define SIZE_H

/**
* Holds a width and a height value.
*/
class Size
{
public:
	/**
	* Constructor.
	*/
	Size();

	/**
	* Constructor.
	*
	* @param width the width.
	* @param height the height.
	*/
	Size( const int width, const int height );

	/**
	* Destructor.
	*/
	~Size();

	/**
	* Assignment operator overloading.
	*/
	Size& operator=( const Size& s );

	/**
	* Returns width.
	*
	* @return int the width value.
	*/
	int getWidth() const;

	/**
	* Sets width.
	*
	* @param width the new width.
	*/
	void setWidth( const int width );

	/**
	* Returns height.
	*
	* @return int the height value.
	*/
	int getHeight() const;

	/**
	* Sets height.
	*
	* @param height the new height.
	*/
	void setHeight( const int height );

private:
	// The width
	int width;

	// The height
	int height;
};

#endif // SIZE_H
